<?php

class Shelf{
  private $priceMap = array();

  public function setProductPrice($product, $price){
    $this->priceMap[$product]=$price;
  }

  public function getProductPrice($product){
    return $this->priceMap[$product];
  }
}
